package com.zy.cat.entity.game.resp;


import java.util.List;
import java.util.Map;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 9趣猫神奇便利店实体类
 * @author Link
 * @date 2019-10-30 09:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("9趣猫神奇便利店实体类")

@Document
public class CVSInfoResp {
	
	@Id
	@ApiModelProperty(value = "用户账号ID", example = "fe53d6a4fa29641")
	private String pid;
	
	@ApiModelProperty(value = "今日可用抽奖次数", example = "6")
	private int dcount;
	
	@ApiModelProperty(value = "今日可用能量瓶数量", example = "0")
	private int ncount;
	
	@ApiModelProperty(value = "今日抽奖次数-额外奖励进度", example = "1")
	private int wdcount;
	
	@ApiModelProperty(value = "额外奖励未领取列表", example = "1")
	private Map<String,String> einfo;
	
	@ApiModelProperty(value = "周期开始时间", example = "2019-02-22")
	private String stime;
	
	@ApiModelProperty(value = "周期结束时间", example = "2019-02-28")
	private String etime;
	
	@ApiModelProperty(value = "6次抽奖下次获取时间", example = "2019-02-28 10:10:10")
	private String dstime;
	
	@ApiModelProperty(value = "3个能量瓶下次获取时间", example = "2019-02-28 10:10:10")
	private String nstime;
	
	@ApiModelProperty(value = "是否为当天第一次进入，(0.非首次进入、1.当天第一次进入)", example = "1")
	@JsonProperty(value = "is_first")
	private Integer isFirst;
	
	@ApiModelProperty(value = "是否本次为开启新一轮，(0.非开启新一轮、1.开启新一轮)", example = "1")
	@JsonProperty(value = "is_start")
	private Integer isStart;
	
	@ApiModelProperty(value = "iPhone已获得碎片数", example = "1")
	private int iphone;
	
	@ApiModelProperty(value = "小米平衡车已获得碎片数", example = "1")
	private int mbike;
	
	@ApiModelProperty(value = "九阳榨汁机已获得碎片数", example = "1")
	private int jiuyang;
	
	@ApiModelProperty(value = "优酷会员已获得碎片数", example = "1")
	private int youku;
	
	@ApiModelProperty(value = "小米扫地机器人已获得碎片数", example = "1")
	private int srobot;
	
	@ApiModelProperty(value = "9999现金豆红包已获得碎片数", example = "1")
	private int xbeans;
	
	@ApiModelProperty(value = "每日礼包", example = "[]")
	List<CVSDrawHistoryResp> daily_pack;
	
	@ApiModelProperty(value = "退出奖励弹窗是否已展示(0.未展示、1.已展示)", example = "1")
	@JsonProperty(value = "is_show")
	private Integer isShow;

	public CVSInfoResp(String pid,String stime,String etime) {
		super();
		this.pid = pid;
		this.stime = stime;
		this.etime = etime;
	}
}
